<template>
  <div>
    <div class="footer_wrap">
      <router-link to="/find/findOne">findOne</router-link>
      <router-link to="/find/findTwo">findTwo</router-link>
      <router-link to="/find/findThree">findThree</router-link>
    </div>
    <div class="top">
      <keep-alive>
      <router-view></router-view>
      </keep-alive>
    </div>
  </div>
</template>

<script>
export default {
  methods:{
    btn(targetPath, targetName){
      
      this.$router.push({
        
        name: targetName
      })
    }
  }
};
</script>

<style scoped>
.footer_wrap {
    margin-top: 100px;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  width: 100%;
  text-align: center;
  background-color: #333;
  color: #ccc;
}
.footer_wrap a {
  flex: 1;
  text-decoration: none;
  padding: 20px 0;
  line-height: 20px;
  background-color: #333;
  color: #ccc;
  border: 1px solid black;
}
.footer_wrap a:hover {
  background-color: #555;
}
.top {
  padding-top: 62px;
}
.router-link-active{
  background-color: rgb(241, 197, 76) !important;
  color: #000 !important;
}
</style>